package ru.michaeltyan.familyconnector.businessobjects.impl;

import ru.michaeltyan.familyconnector.beans.FoodstuffList;
import ru.michaeltyan.familyconnector.businessobjects.FoodstuffListBusinessObject;
import ru.michaeltyan.familyconnector.dao.FoodstuffListDao;

public class FoodstuffListBusinessObjectImpl implements FoodstuffListBusinessObject {
	private FoodstuffListDao FoodstuffListDao;

	public void setFoodstuffListDao(FoodstuffListDao FoodstuffListDao) {
		this.FoodstuffListDao = FoodstuffListDao;
	}

	public void save(FoodstuffList FoodstuffList) {
		FoodstuffListDao.save(FoodstuffList);
	}

	public void update(FoodstuffList FoodstuffList) {
		FoodstuffListDao.update(FoodstuffList);
	}

	public void delete(FoodstuffList FoodstuffList) {
		FoodstuffListDao.delete(FoodstuffList);
	}

	public FoodstuffList findById(long id) {
		return FoodstuffListDao.findById(id);
	}

}
